<template>
  <div class="list-top">
    <a href="#">
      <span></span>
      <p>
        返回
      </p>
    </a>
    <h2>
      商品详情
    </h2>
  </div>
</template>
<style scoped lang="scss">
.list-top {
  width: 10rem;
  height: 1.0667rem;
  background-color: #FF6040;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
}

.list-top span {
  display: inline-block;
  width: 0.2rem;
  height: 0.2rem;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(225deg);
  margin: 0 0.4rem;
  position: absolute;
  left: 0;
  top: 0.4533rem;
}

.list-top p {
  font-size: 0.4267rem;
  color: #fff;
  position: absolute;
  left: 1.0667rem;
  top: 0.2267rem;
}

.list-top h2 {
  font-size: 0.48rem;
  color: #fff;
  margin: 0 0.4rem;
  font-weight: 400;
}
</style>